home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr11 / pcv05n08.zip / BATKEY.DOC next >
Text File  |  1993-06-12  |  2KB  |  57 lines

  1. BATKEY.                  August 1992             Ronny Richardson
  2. -----------------------------------------------------------------
  3. Purpose:       Batkey provides you with the ability to run
  4.                multiple commands, provide command-line recorder
  5.                services, and provide command-line macros without
  6.                having to use DOS 5.0 or DOSKEY.
  7.  
  8. Format:        MULTI.BAT:
  9.                ---------
  10.                     MULTI command ^ command ^ command
  11.  
  12.                MULTI allows you to enter as many commands as you
  13.                can fit on a signle command line (up to DOS's
  14.                limit of 127 characters per line). To invoke the
  15.                function, enter the batch file's name (MULTI), 
  16.                separated by spaces and carets (^), using the
  17.                above syntax.
  18.  
  19.                This works by constructing an environmental 
  20.                variable to contain each command.  It loops
  21.                through the replaceable parameter until it reaches
  22.                a caret, telling the file that the command is 
  23.                complete, restting the environment variable and
  24.                starting over.
  25.  
  26.                CL.BAT:
  27.                ------
  28.                     CL
  29.  
  30.                If you enter a lot of short commands such as D:,
  31.                CD\, and DIR, you'll prefer to store only the one 
  32.                or two long commands you don't want to type.  CL 
  33.                can store these for you.  CL will store up to 10
  34.                complex command lines on disk.  Like MACRO.BAT, CL
  35.                stores command lines in batch files.
  36.  
  37.                To record a command line, one that changes to a
  38.                remote subdirectory for example, enter CL followed
  39.                by the comand, using the following syntax:
  40.  
  41.                     CL ]CD\BUDGET\1992\EXPENSES\SALES
  42.  
  43.                Press ENTER and CL records the comand in a batch
  44.                file and passes control back to DOS to execute.
  45.  
  46.                MACRO.BAT:
  47.                ---------
  48.                     MACRO number command
  49.  
  50.                MACRO.BAT records up to ten command-line macros, 
  51.                each in its own batch file in a directory called
  52.                \MACRO. To record a macro, start with this batch
  53.                file command, a number for the macro (using any
  54.                number from 0 to 9), and the commands you wish to
  55.                execute, as in the above example.
  56.  
  57.